package com.data.modules.online.auth.vo;

import java.io.Serializable;

public class AuthDataVO implements Serializable {
    private static final long serialVersionUID = 1057819436991228603L;
    private Boolean checked;

    private String f77id;
    private String relId;
    private String title;


    public boolean canEqual(Object other) {
        return other instanceof AuthDataVO;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof AuthDataVO)) {
            return false;
        }
        AuthDataVO authDataVO = (AuthDataVO) o;
        if (!authDataVO.canEqual(this)) {
            return false;
        }
        Boolean checked2 = getChecked();
        Boolean checked3 = authDataVO.getChecked();
        if (checked2 != null ? !checked2.equals(checked3) : checked3 != null) {
            return false;
        }
        String id = getId();
        String id2 = authDataVO.getId();
        if (id != null ? !id.equals(id2) : id2 != null) {
            return false;
        }
        String title2 = getTitle();
        String title3 = authDataVO.getTitle();
        if (title2 != null ? !title2.equals(title3) : title3 != null) {
            return false;
        }
        String relId2 = getRelId();
        String relId3 = authDataVO.getRelId();
        if (relId2 == null) {
            if (relId3 == null) {
                return true;
            }
        } else if (relId2.equals(relId3)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int i = 43;
        Boolean checked2 = getChecked();
        int hashCode = checked2 == null ? 43 : checked2.hashCode();
        String id = getId();
        int i2 = (hashCode + 59) * 59;
        int hashCode2 = id == null ? 43 : id.hashCode();
        String title2 = getTitle();
        int i3 = (hashCode2 + i2) * 59;
        int hashCode3 = title2 == null ? 43 : title2.hashCode();
        String relId2 = getRelId();
        int i4 = (hashCode3 + i3) * 59;
        if (relId2 != null) {
            i = relId2.hashCode();
        }
        return i4 + i;
    }

    public void setChecked(Boolean checked2) {
        this.checked = checked2;
    }

    public void setId(String id) {
        this.f77id = id;
    }

    public void setRelId(String relId2) {
        this.relId = relId2;
    }

    public void setTitle(String title2) {
        this.title = title2;
    }

    public String toString() {
        return "AuthDataVO(id=" + getId() + ", title=" + getTitle() + ", relId=" + getRelId() + ", checked=" + getChecked() + ")";
    }

    public String getId() {
        return this.f77id;
    }

    public String getTitle() {
        return this.title;
    }

    public String getRelId() {
        return this.relId;
    }

    public Boolean getChecked() {
        return this.checked;
    }

    public Boolean isChecked() {
        return Boolean.valueOf(this.relId != null && this.relId.length() > 0);
    }
}
